<body>
    <div id="wrapper">
        <header>
            <div class="clearfix">
                <?php if($this->session->userdata("ID_MEMBER_TYPE") == 2):?>
                <script type="text/javascript" src="<?php echo base_url().'js/page/home_pengurus.js'?>"></script>
                <div class="shortcuts">
                    <ul class="clearfix">
                        <li><a href="<?php echo base_url().'br-03/peminjaman/list_new'?>" title="Permintaan Pinjaman"><img src="<?php echo base_url().'/images/woofunction-icons/activity_monitor.png'?>" /><span>Permintaan</span><label id="NOTIF_SP"></label></a></li>
                        <li><a href="#" title="Hitung Tagihan Bulanan" id="GET_SW"><img src="<?php echo base_url().'/images/woofunction-icons/basket_32.png'?>" /><span>Tagihan</span><label id="NOTIF_SW"><em>baru</em></label></a></li>
                        <li><a href="<?php echo base_url().'updater/pinjaman/get_new_request'?>" title="Unduh Data Anggota"><img src="<?php echo base_url().'/images/woofunction-icons/chart_32.png'?>" /><span>Unduh</span></a></li>
                        <li><a href="#" title="Unggah Data Anggota"><img src="<?php echo base_url().'/images/woofunction-icons/chart_32.png'?>" /><span>Unggah</span></a></li>
                    </ul>
                </div>
                <div class="clear"></div>
                <a class="chevron fr">Expand/Collapse</a>
                <?php endif;?>

                <nav>
                    <ul class="clearfix">
                        <li><a href="<?php echo base_url()?>">Home</a></li>
                        
                        <?php if($this->session->userdata("ID_MEMBER_TYPE") == 2):?>
                        <li><a href="#" class="arrow-down">Layanan</a>
                            <ul>
                                <li><a href="<?php echo base_url().'br-03/peminjaman'?>">Baru</a></li>
                                <li><a href="<?php echo base_url().'br-03/peminjaman/list_new'?>">Permintaan</a></li>
                            </ul>
                        </li>
                        <li><a href="#" class="arrow-down">Potongan</a>
                            <ul>
                                <li><a href="<?php echo base_url().'br-03/potongan/createpotongan'?>">Baru</a></li>
                                <li><a href="<?php echo base_url().'br-03/angsuran/edit'?>">Ubah</a></li>
                                <li><a href="<?php echo base_url().'br-03/potongan/realisasi'?>">Realisasi</a></li>
                            </ul>
                        </li>
                        <?php endif;?>
                        
                        
                        <li><a href="#" class="arrow-down">Transaksi</a>
                            <ul>
                                <?php if($this->session->userdata("ID_MEMBER_TYPE") == 2):?>
                                <li><a href="<?php echo base_url().'br-04/transaksi/viakasir'?>">Via Kasir</a></li>
                                <li><a href="<?php echo base_url().'br-04/transaksi/viabank'?>">Via Bank</a></li>
                                <?php endif;?>
                                <?php if($this->session->userdata("ID_MEMBER_TYPE") == 3):?>
                                <li><a href="<?php echo base_url().'br-06/pembelian/rencana'?>">Rencana Pembelian</a></li>
                                <li><a href="<?php echo base_url().'br-06/pembelian/faktur'?>">Faktur Pembelian</a></li>
                                <li><a href="<?php echo base_url().'br-06/pembelian/realisasi'?>">Realisasi Pembelian</a></li>
                                <?php endif;?>
                            </ul>
                        </li>
                        <li><a href="#" class="arrow-down">Laporan</a>
                            <ul>
                                <?php if($this->session->userdata("ID_MEMBER_TYPE") == 2):?>
                                <li><a href="<?php echo base_url().'br-08/akuntansi'?>">Akuntansi</a></li>
                                <li><a href="<?php echo base_url().'br-08/potongan'?>">Potongan</a></li>
                                <li><a href="<?php echo base_url().'br-08/jasa'?>">Jasa</a></li>
                                <li><a href="<?php echo base_url().'br-08/kartupiutang'?>">Kartu Piutang</a></li>
                                <?php endif;?>
                                <?php if($this->session->userdata("ID_MEMBER_TYPE") == 3):?>
                                <li><a href="<?php echo base_url().'br-08/toko/rugi_laba'?>">Toko</a></li>
                                <li><a href="<?php echo base_url().'br-08/barang/pembelian'?>">Barang</a></li>
                                <?php endif;?>
                            </ul>
                        </li>

                        <?php if($this->session->userdata("ID_MEMBER_TYPE") == 2):?>
                        <li>
                            <a href="#" class="arrow-down">SHU</a>
                            <ul>
                                <li><a href="<?php echo base_url().'br-05/distribusi'?>">Distribusi SHU</a></li>
                            </ul>
                        </li>
                        <?php endif;?>

                        <li>
                            <a href="#" class="arrow-down">Pengaturan</a>
                            <ul>
                                <?php if($this->session->userdata("ID_MEMBER_TYPE") == 2):?>
                                <li><a href="<?php echo base_url().'br-02/anggota'?>">Anggota</a></li>
                                <li><a href="<?php echo base_url().'br-02/koperasi'?>">Koprasi</a></li>
                                <?php endif;?>
                                <?php if($this->session->userdata("ID_MEMBER_TYPE") == 3):?>
                                <li><a href="<?php echo base_url().'br-02/barang'?>">Barang</a></li>
                                <?php endif;?>
                            </ul>
                        </li>

                        <li class="fr action">
                            <a href="../../documentation/index.html" class="button button-orange help" rel="#overlay"><span class="help"></span>Help</a>
                        </li>
                            <li class="fr"><a href="#" class="arrow-down"><?php echo $this->session->userdata("USERNAME");?></a>
                        <ul>
                            <li><a href="#">Account</a></li>
                            <li><a href="<?php echo base_url().'account/logout'?>">Sign out</a></li>
                        </ul>
                        </li>
                    </ul>
                </nav>
            </div>
        </header>